package com.nervenets.web.controller.handler.admin.movie;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.enumeration.MovieStatus;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class MovieStatusChangeParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "影片的ID")
    private long movieId;
    @NeedValidation(type = Type.NOTEMPTY, description = "更改状态")
    private MovieStatus movieStatus;
}
